@extends('layout.index')

@section('title','公告管理')

@section("content")
	<div class="mws-panel grid_8">
	<div class="mws-panel-header">
    	<span>公告添加</span>
    </div>
    <div class="mws-panel-body no-padding">

      <!--   @if (count($errors) > 0)
		   <div class="mws-form-message error">
		        <ul>
		            @foreach ($errors->all() as $error)
		                <li>{{ $error }}</li>
		            @endforeach
		        </ul>
		    </div>
		@endif -->

    	<form action="/admin/notice/insert" method='post' class="mws-form" enctype="multipart/form-data">
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">公告标题:</label>
    				<div class="mws-form-item">
    					<input type="text" name='title'class="small">
    				</div>
    			</div>
    			<!-- 跳转页面 -->

    			<div class="mws-form-row">
    				<label class="mws-form-label">跳转页面:</label>
    				<div class="mws-form-item">
    					<input type="text" name='path'class="small">
    				</div>
    			</div>
                <div class="mws-form-row">
                    <label class="mws-form-label">公告状态:</label>
                    <div class="mws-form-item">
                        <select name="status" id="">
                            <option value="1" selected>公示</option>
                            <option value="0">禁用</option>
                        </select>
                    </div>
                </div>
              {{ csrf_field() }}
                
         
    		<div class="mws-button-row">
    			
    			<input type="submit" class="btn btn-danger" value="提交">
    			<input type="reset" class="btn " value="重置">
    		</div>
    	</form>
    </div>    	
</div>
@endsection